namespace ServoDrivesLib.Device;

public class DeviceControlManager
{
    protected internal readonly Dictionary<string, DeviceControl> deviceControls;

    public static DeviceControlManager Instance { get; } = new DeviceControlManager();
    public DeviceControlManager()
    {
        deviceControls = new Dictionary<string, DeviceControl>();
    }

    public void Register(string name, DeviceControl deviceControl)
    {
        
    }

    public DeviceControl? Get(string name)
    {
        return deviceControls[name];
    }
}
